﻿#ifndef UIMAINWINDOW_H
#define UIMAINWINDOW_H

#include <QWidget>
#include <QStackedWidget>

class UiMainWindow : public QWidget
{
    Q_OBJECT

public:
    UiMainWindow(QWidget *parent = nullptr);
    ~UiMainWindow();

    void uiInit();

public:
    void selectPageChange(QString, QWidget* page);

protected:
    virtual void paintEvent(QPaintEvent *event)override;
private:
    class NavigationBar* m_navigationBar = nullptr;

    QStackedWidget* m_view = nullptr;

    class HomePage* m_home = nullptr;

    class RunPage* m_run = nullptr;

    class BioTabWidget* m_tabw_set;
    class SetBiaoqu* m_set_biaoqu;
    class SetJinyangqi* m_set_jinyangqi;

    class BioTabWidget* m_tabw_maintain;

    class BioTabWidget* m_tabw_maintain_bq;
    class MaintainBiaoqu_LCTS* m_maintain_bq_lcts;
    class MaintainBiaoqu_SDKZ* m_maintain_bq_sdkz;
    class MaintainBiaoqu_ZSQJZ* m_maintain_bq_zsqjz;

    class BioTabWidget* m_tabw_maintain_jyq;
    class MaintainJinYangQi_NDLTS* m_maintain_jyq_ndlts;
    class MaintainJinYangQi_SDKZ* m_maintain_jyq_sdkz;
    class MaintainJinYangQi_WZJZ* m_maintain_jyq_wzjz;

    class MaintainSystemInfo* m_maintain_sys_info;
};
#endif // UIMAINWINDOW_H
